package com.aidex.biz.mapper;

import com.aidex.biz.domain.HousingInfo;
import com.aidex.common.core.mapper.BaseMapper;

import java.util.Map;

/**
 * 小区信息Mapper接口
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-09-23
 */
public interface HousingInfoMapper extends BaseMapper<HousingInfo> {

    /**
     * 批量删除小区信息
     *
     * @param ids 需要删除的小区信息ID集合
     * @return
     */
    public int deleteHousingInfoByIds(String[] ids);

    /**
     * 获取最大编号
     *
     * @param housingInfo 小区信息
     * @return 结果
     */
    public Integer findMaxSort(HousingInfo housingInfo);


    /**
     * 查询后台首页报表信息
     *
     * @param housingInfo
     * @return
     */
    public Map<String, String> getIndexInfo(HousingInfo housingInfo);

}
